package com.kang.gaklibrary.controller;

import com.kang.gaklibrary.model.UserFriend;
import com.kang.gaklibrary.service.UserFriendService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@Controller
public class UserFriendController {
    @Autowired
    UserFriendService userFriendService;

//    @RequestMapping("/selectFriend")
//    public void selectFriend(String userId, Model model){
//        List<UserFriend> userFriends = userFriendService.selectAllFriendById(userId);
//        model.addAttribute("personList", userFriends);
//    }

}
